<div class="row-fluid">
    <div class="span12">
        <h3 class="heading">MATERIA PARALELOS</h3> 
        <table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>                                          
                    <th>Paralelo</th>
                    <th>Materia</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead>
            <tbody>
                <?php foreach ($materiasParalelos as $matp): ?>
                    <?php $idMatpa = $matp['MateriasParalelo']['id']; ?>
                    <tr>                                                 
                        <td><?php echo $matp['Paralelo']['nombre']; ?></td>
                        <td><?php echo $matp['Materia']['nombre']; ?></td>                        
                        <td>
                 
                            <?php echo $this->Html->link('EDITAR',array('action'=>'editar',$matp['MateriasParalelo']['id']));?>
                            
                            <?php echo $this->Html->link('ELIMINAR',array('action'=>'eliminar',$matp['MateriasParalelo']['id']),null,('Desea aliminar esta Gedtion.....!!!!!?')); ?> 
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>                
    </div>   
</div>
<!-- fin sidebar -->
<?php echo $this->element('jstablas'); ?>
 <?php echo $this->Html->link('NUEVA MATERIA PARALELO', array('action' => 'insertar'), array('class' => 'buttonS bGreen ')); ?>